from django.urls import path
# from .views import Logout
from .views import *
urlpatterns = [
    # path('search/',views.Logout.as_view()),
    path("check/username/<str:username>/",CheckUsername.as_view()),
#     校验手机号的重复性
    path("check/mobile/<str:mobile>/",CheckMobile.as_view()),
#     图片验证码的接口
    path("image_code/<str:uuid>/",GenImageCode.as_view()),
#     校验图片验证码
    path("check_image_code/",CheckImageCode.as_view()),
#     用户注册
    path("register/",Register.as_view()),
#     用户登录
    path("login/",Login.as_view()),
#     退出登录
    path("logout/",Logout.as_view()),
]